From: Giovanni Campagna Date: Mon, 22 Aug 2011 20:31:04 +0000 (+0200) Subject: AppDisplay: fix typo that prevented Ctrl+Enter in search X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7921 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=72037af241f094bd212a91fd9359295ce594febf;p=gnome-shell.git AppDisplay: fix typo that prevented Ctrl+Enter in search workspace is not a valid variable, the workspace index should be fetched from the params object. https://bugzilla.gnome.org/show_bug.cgi?id=657111 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 131be18a9..acaa77526 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -342,7 +342,7 @@ AppSearchProvider.prototype = { let openNewWindow = modifiers & Clutter.ModifierType.CONTROL_MASK; if (openNewWindow) - app.open_new_window(workspace); + app.open_new_window(params.workspace); else app.activate_full(params.workspace, params.timestamp); },